package cn.eoeit.mmy.service;

import java.util.List;

import cn.eoeit.mmy.model.DeviceInfo;
import cn.eoeit.mmy.model.Factory;
import cn.eoeit.mmy.model.GongXuModel;
import cn.eoeit.mmy.model.Seller;

public interface ISystemService {

	DeviceInfo finishAddDeviceInfo(DeviceInfo user);

	DeviceInfo findDeviceInfo(Integer uid);
	
	List<DeviceInfo> getDeviceInfos();

	DeviceInfo finishDeleteDeviceInfo(Integer uid);

	DeviceInfo finishUpdateDeviceInfo(DeviceInfo user);
	
	
	
	Factory finishAddFactory(Factory user);

	Factory findFactory(Integer uid);
	
	List<Factory> getFactorys();

	Factory finishDeleteFactory(Integer uid);

	Factory finishUpdateFactory(Factory user);
	
	
	Seller finishAddSeller(Seller user);

	Seller findSeller(Integer uid);
	
	List<Seller> getSellers();

	Seller finishDeleteSeller(Integer uid);

	Seller finishUpdateSeller(Seller user);
	
	
	GongXuModel finishAddfindGongXu(GongXuModel user);

	GongXuModel findGongXu(Integer uid);
	
	List<GongXuModel> getfindGongXus();

	GongXuModel finishDeletefindGongXu(Integer uid);

	GongXuModel finishUpdateGongXu(GongXuModel user);

	DeviceInfo finishDeviceInfo(DeviceInfo user);
}
